package com.ithero.contentcenter.configuration;

import feign.Logger;
import org.springframework.context.annotation.Bean;

/**
 * feign的配置类
 * 这个类不加@Configuration注解，否则必须挪到@ComnponentScan能扫描的包以外
 */
public class UserCenterFeignConfiguration {

    @Bean
    public Logger.Level level() {
        // 让feign打印所有feign的细节
        return Logger.Level.FULL;
    }
}
